package gui.geometry;

import java.awt.Graphics2D;
import java.awt.Point;

import model.NetworkObject;

public abstract class GeometryDescriptor {
	public NetworkObject object;
	public Point point;
	public int index = -1;
	
	public GeometryDescriptor(NetworkObject object, Point point) {
		this.object = object;
		this.point = point;
	}

	public Point getPoint() {
		return point;
	}

	public void setIndex(int index) {
		this.index = index;
	}
	
	public int getIndex() {
		return index;
	}
	
	public abstract void draw(Graphics2D g);
	public abstract String toString();
}
